#include "transform.h"



void test()
{
	
}

int main()
{
	test();

	cout <<"input choice: server , client"<<endl<<endl;

	char input[100]="client";
	cout <<">> ";
	cin >>input;

	if(strcmp(input,"client")==0)
	{
		char ip[30]="192.168.1.101";
		int port;
		cout <<"  server IP: ";
		cin >>ip;
		start_client(ip,8123);
	}
	else if(strcmp(input,"server")==0)
	{
		system("ipconfig|findstr IPv4");
		while(start_server());
	}

	return 0;
}